Closed Bug 1834118 Opened 2 years ago Closed 2 years ago

Stylelint not running on Windows when passing a path

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox116 fixed)

RESOLVED FIXED
Tracking Status
firefox116 --- fixed

People

(Reporter: aminomancer, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Looks like the same thing as bug 1829162, but for stylelint (added in bug 1508369).

On windows, passing a path throws

$ mach lint --linter stylelint browser/components/newtab
An error occurred running stylelint. Please check the following error messages:

'scss)' is not recognized as an internal or external command,
operable program or batch file.

Unexpected type received
Traceback (most recent call last):
  File "c:\mozilla-git\mozilla-unified-2\python\mozlint\mozlint\roller.py", line 82, in _run_worker
    assert False
AssertionError
A failure occurred in the stylelint linter.
✖ 1 problem (0 errors, 0 warnings, 1 failure, 0 fixed)

FWIW I cannot reproduce this on my Windows machine. The command does not produce errors in my local mozilla-build shell.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/201365a3648e quote stylelint path arguments on Windows, r=aminomancer,Standard8
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: